package day20171109;

/**
 * Created by Administrator on 2017-11-9.
 */
public class Test {


    public static void main(String[] args) {


        System.out.println("hello");


        try {
            System.out.println(6 / 0);

            int[] numbers = new int[3];

            System.out.println(numbers[3]);


        } catch (ArithmeticException e) {

            System.out.println("除数为0！！！");

        } catch (ArrayIndexOutOfBoundsException e){

            System.out.println("数组下标越界！！！");

        } finally{

            System.out.println("world!");

        }


    }
}
